#include	<windows.h>
#include	"..\..\cpp\Win32USECMN\DLGCMMBOX.h"




VOID	WINAPI	SetCOMBOXText(HWND hCombox, DWORD iCount,PST_chain_belt lpchain_belt)
	{
	DWORD	i;
	PST_chain_belt	pstCurchain = NULL ;

	if ( (pstCurchain = lpchain_belt) == NULL )
		{
		return;
		}

	for (i=0;i<iCount;i++)
		{
		SendMessage(hCombox,CB_ADDSTRING,0,(LPARAM)pstCurchain->lpszAddStr);
		if ( pstCurchain->nextnode != NULL )
			{
			pstCurchain = pstCurchain->nextnode ;
			}
		else
			{
			break;
			}
		}

	SendMessage(hCombox,CB_SETCURSEL, 0, 0 );

	return;
	}



